README

This repository replicates Santiago Lopez-Cariboni, 2022. "Political Regimes and Informal Social Insurance", Comparative Political Studies.


The files are organized as follows:

1. Within the "code" folder: 

- The "functions" folder contains R functions for generating time lags, spatial lags, and interaction effects plots. 
- "Data_replication.R": generates the replication data ("dt_replication.csv") using original datasets stored in the "data" folder.
- "Manuscript_replication.R" : replicates results and figures for the main manuscript.
- "Online_appendix_replication.R" : replicates results and figures for the Online Appendix.
- Appendix_B.R  : replicates section B from the online appendix 
- Appendix_C.R  : replicates section C from the online appendix 
- Appendix_D.R  : replicates section D from the online appendix 
- Appendix_E.R  : replicates section E from the online appendix 
- Appendix_G.R  : replicates section G from the online appendix 
- Appendix_I.R  : replicates section I from the online appendix 
- Appendix_J.R  : replicates section J from the online appendix 
- Appendix_K.R  : replicates section K from the online appendix 
- Appendix_L.R  : replicates section L from the online appendix 
- Appendix_N.R  : replicates section N from the online appendix 
- Appendix_O.do : replicates section O from the online appendix (run in STATA)
- Appendix_Q.R  : replicates section Q from the online appendix 
- Appendix_R.R  : replicates section R from the online appendix 


2. The "data" folder contains all original datasets and a CODEBOOK.txt describing variables in "dt_replication.csv" file.

3. The "tables" folder contains all tables generated with the provided code


4. The "figures" folder contains all tables generated with the provided code
